package com.zjj.learn.javaplus.pkg03.demo304;

public class SportTeacher extends Teacher implements Sport{
    public SportTeacher() {
    }

    public SportTeacher(String name, Integer age) {
        super(name, age);
    }

    @Override
    public void playBasketBall() {
        System.out.println("年龄为 " + super.getAge() + " 岁的老师：" + super.getName() +" 在打篮球");
    }
}
